package com.printeverywhere.dto;

import java.util.Date;

/**
 * MailServer entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class MailServer implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userId;
	private String fromId;
	private String contains;
	private String isMessage;
	private String isEmail;
	private String type;
	private Date createdOn;

	// Constructors

	/** default constructor */
	public MailServer() {
	}

	/** minimal constructor */
	public MailServer(String userId, String fromId, String isMessage,
			String isEmail, String type, Date createdOn) {
		this.userId = userId;
		this.fromId = fromId;
		this.isMessage = isMessage;
		this.isEmail = isEmail;
		this.type = type;
		this.createdOn = createdOn;
	}

	/** full constructor */
	public MailServer(String userId, String fromId, String contains,
			String isMessage, String isEmail, String type, Date createdOn) {
		this.userId = userId;
		this.fromId = fromId;
		this.contains = contains;
		this.isMessage = isMessage;
		this.isEmail = isEmail;
		this.type = type;
		this.createdOn = createdOn;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFromId() {
		return this.fromId;
	}

	public void setFromId(String fromId) {
		this.fromId = fromId;
	}

	public String getContains() {
		return this.contains;
	}

	public void setContains(String contains) {
		this.contains = contains;
	}

	public String getIsMessage() {
		return this.isMessage;
	}

	public void setIsMessage(String isMessage) {
		this.isMessage = isMessage;
	}

	public String getIsEmail() {
		return this.isEmail;
	}

	public void setIsEmail(String isEmail) {
		this.isEmail = isEmail;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

}